
import java.util.ArrayList;


public class indieces implements Comparable<indieces>{
	public String name;
	public int documents;
	public long index;
	
	public indieces(String name, int docs, long idx) {
		this.name = name;
		this.documents = docs;
		this.index = idx;
	}

	@Override
	public int compareTo(indieces arg0) {
		if(name.compareToIgnoreCase(arg0.name) < 0) {
			return -1;
		} else if(name.compareToIgnoreCase(arg0.name) > 0) {
			return 1;
		}
		return 0;
	}
}
